﻿namespace Bewise.SmartIndexManager.Core.Classes.Types
{
    public class TypeOfObjects
    {
        public DatabasesTypeEnum DatabasesTypeEnum { get; set; }

        public bool IsAllDatabase
        {
            get { return DatabasesTypeEnum == DatabasesTypeEnum.AllDatabase; }
        }

        public bool IsAllUserDatabases
        {
            get { return DatabasesTypeEnum == DatabasesTypeEnum.AllUserDatabases; }
        }

        public bool IsSystemDatabase
        {
            get { return DatabasesTypeEnum == DatabasesTypeEnum.SystemDatabase; }
        }

        public bool IsTheseDatabases
        {
            get { return DatabasesTypeEnum == DatabasesTypeEnum.TheseDatabases; }
        }
    }
}